ASENHA\Classes\Common_Methods B

Total Complexity 92
Dependencies 2
Dependents 8
Total lines 553
Lines of code 371
Logical lines of code 175
Comment lines 158
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_user_ip_address()
B
41 19 56
hex_to_rgba()
S
59 8 11
is_ip_valid()
S
62 6 11
get_user_capabilities_to_show_menu_toggle_for()
S
55 5 20
get_image_url()
S
56 5 18
get_array_of_keys_with_true_value()
S
61 5 13
get_kses_extended_ruleset()
S
42 1 65
adjust_bnrightness()
S
55 4 18
get_menu_hidden_by_toggle()
S
59 4 14
seconds_to_period()
S
60 4 13
sanitize_html_js_css_code()
S
61 4 12
get_post_type_singular_label()
S
64 4 10
get_current_url()
S
63 4 9
get_most_recent_post_id()
S
58 2 16
is_in_block_editor()
S
67 3 8
is_woocommerce_active()
S
69 3 7
sanitize_hex_color()
S
64 3 10
strip_html_tags_and_content()
S
65 3 9
is_color_dark()
S
60 2 12
restore_menu_item_id()
S
58 1 18
transform_menu_item_id()
S
58 1 18
get_svg_triangle()
S
82 1 3